<template>
	<view>
		<!--顶部区域-->
		<view class="smart-panel-head">
			<view class="smart-panel-head-title">view</view>
		</view>
		<!--主题部分-->
		<view class="smart-padding-wrap">
			<view>flex-direction:row 横向布局</view>
		</view>
		<view class="smart-flex smart-row">
			<view class="flex-item smart-bg-blue">A</view>
			<view class="flex-item smart-bg-green">B</view>
			<view class="flex-item smart-bg-red">C</view>
		</view>
		<view>flex-direction:row 纵向布局</view>
		<view class="smart-flexsmart-column">
			<view class="flex-item-100 smart-bg-blue">A</view>
			<view class="flex-item-100 smart-bg-green">B</view>
			<view class="flex-item-100 smart-bg-red">C</view>
		</view>
		<view>其他布局</view>
        <view>
			<view class="text">纵向布局-自动宽度</view>
			<view class="text" style="width: 300rpx;">纵向布局-固定宽度</view>
			<view class="smart-flex smart-row">
				<view class="text">横向布局-自动宽度</view>
				<view class="text">横向布局-自动宽度</view>
				
			</view>
			<view class="smart-flex smart-row" style="justify-content:
		center;-webkit-justify-content:center;">
				<view class="text">横向布局-居中</view>
				<view class="text">横向布局-居中</view>
			</view>
			<view class="smart-flex smart-row" style="justify-
		content: flex-end; -webkit-justify-content:flex-end;">
				<view class="text">横向布局-居右</view>
				<view class="text">横向布局-居右</view>
			</view>
			<view class="smart-flex smart-row">
				<view class="text" style="-webkit-flex:1;flex:1;">横向
					布局-平均分布</view>
				<view class="text" style="-webkit-flex:1;flex:l;">横向
					布局-平均分布</view>
			</view>
			<view class="smart-flex smart-row" style="justify-
		content: space-between;-webkit-justify-content:space-between; ">
				<view class="text">横向布局-两端对齐</view>
				<view class="text">横向布局-两端对齐</view>
			</view>
			<view class="smart-flex smart-row">
				<view class="text" style="width: 150rpx;">固定宽度</view>
				<view class="text" style="-webkit-flex:1;flex:1;">自动占
					满</view>
			</view>
			<view class="smart-flex smart-row">
				<view class="text" style="width:150rpx;">固定宽度</view>
				<view class="text" style="-webkit-flex:1;flex:1;">自动占
					满</view>
				<view class="text" style="width: 150rpx;">固定宽度</view>
			</view>
			<view class="smart-flex smart-row" style="flex-wrap:
		wrap;-webkit-flex-wrap;wrap;">
				<view class="text" style="width:280rpx;">一行显示不全
					wrap折行</view>
				<view class="text" style="width: 280rpx;">一行显示不全
					wrap折行</view>
				<view class="text" style="width:280rpx;">一行显示不全
					wrap折行</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>